package edu.sctu.xialei.May.day20150515one;

/**
 * Created by Administrator on 2015/5/15 0015.
 */
public class XiaLei {

    public int age;
    private String name;

    public void printAge(){

        System.out.println(age);
        this.printAge_Of_private();
    }


    public void printName(){

        System.out.println(name);
    }

    private void printAge_Of_private(){

        System.out.println(age);
    }

    public void setName(String name){

        this.name = name;
    }

    public XiaLei(String name,int age){
        this.name = name;
        this.age = age;


    }

}
